package cn.bxshey.general.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 优惠卷(Coupons)表实体类
 *
 * @author makejava
 * @since 2024-03-02 13:31:23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("coupons")
public class Coupons {

    //优惠卷id
    private String couponsId;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couponsCreateTime;
    //过期时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couponsEndTime;
    //优惠卷类型
    private Integer couponsTypeId;
    //优惠卷规则条件
    private String couponsRules;
}
